//
//  CLLayoutSupportNode.h
//  ComponentLinkDemo
//
//  Created by Jeanson on 2017/3/6.
//  Copyright © 2017年 zhenby. All rights reserved.
//

#import <AsyncDisplayKit/AsyncDisplayKit.h>
#import "CLPComponent.h"
#import "_CLPLayoutSupporter.h"

NS_ASSUME_NONNULL_BEGIN

@interface CLLayoutSupportNode : ASDisplayNode <_CLPLayoutSupporter>

@property (nonatomic,weak,nullable) id<CLPLayoutElement> layoutElement; //永远不要有逻辑去令它strong持有Element。

- (instancetype) initWithLayoutElement:(id<CLPLayoutElement> _Nullable)layoutElement NS_DESIGNATED_INITIALIZER;

@end

NS_ASSUME_NONNULL_END
